<script>
import MyChart from "@/components/show_data/MyChart.vue";

export default {
  name: "Account_Data1",
  components: {MyChart},
  data(){
    return{
      option:{
        title: {
          text: '各题型用时对比',
          subtext: 'Fake Data',
          left: 'center'
        },
        tooltip: {
          trigger: 'item'
        },
        legend: {
          orient: 'vertical',
          left: 'left'
        },
        series: [
          {
            name: '题型用时',
            type: 'pie',
            radius: '50%',
            data: [
              { value: 1048, name: '相似性' },
              { value: 735, name: '方向词' },
              { value: 580, name: '近义词' },
              { value: 484, name: '面孔识别' },
              { value: 300, name: '真假判断' }
            ],
            emphasis: {
              itemStyle: {
                shadowBlur: 10,
                shadowOffsetX: 0,
                shadowColor: 'rgba(0, 0, 0, 0.5)'
              }
            }
          }
        ]
      }
    }
  }
}
</script>

<template>
  <MyChart :key1="option" echat_width="500" echat_height="400"/>
</template>

<style scoped>

</style>